using System;
using System.Collections.Generic;
using System.Text;
using System.CodeDom;
using NBusiness.CodeDom;

namespace NBusiness.Templates.Contracts
{
    public interface IInfoObject : IContract
    {
        CodeMemberMethod GetInfoObjectMethod(Entity entity);

        CodeMemberMethod ToInfoArrayMethod(Entity entity);

        CodeTypeMember GetLoadByInfoObjectCriteriaDeclaration(Entity entity);
        CodeMemberMethod LoadByInfoObjectMethod(Entity entity);
    }
}
